﻿//# sourceURL=wisej.web.ext.Syncfusion2Widget.BulletChart.js

///////////////////////////////////////////////////////////////////////////////
//
// (C) 2020 ICE TEA GROUP LLC - ALL RIGHTS RESERVED
//
// 
//
// ALL INFORMATION CONTAINED HEREIN IS, AND REMAINS
// THE PROPERTY OF ICE TEA GROUP LLC AND ITS SUPPLIERS, IF ANY.
// THE INTELLECTUAL PROPERTY AND TECHNICAL CONCEPTS CONTAINED
// HEREIN ARE PROPRIETARY TO ICE TEA GROUP LLC AND ITS SUPPLIERS
// AND MAY BE COVERED BY U.S. AND FOREIGN PATENTS, PATENT IN PROCESS, AND
// ARE PROTECTED BY TRADE SECRET OR COPYRIGHT LAW.
//
// DISSEMINATION OF THIS INFORMATION OR REPRODUCTION OF THIS MATERIAL
// IS STRICTLY FORBIDDEN UNLESS PRIOR WRITTEN PERMISSION IS OBTAINED
// FROM ICE TEA GROUP LLC.
//
///////////////////////////////////////////////////////////////////////////////

/**
 * Performs additional widget configuration.
 * @param {any} args
 */
this.filterOptions = function (args) {

	if (wisej.web.DesignMode) {
		if (args.animation) {
			delete args.animation;
		}
	}
}

/*
 * Perform additional widget setup.
 **/
this.initWidget = function () {

	this.getContentElement().setStyle("overflow", "visible")
}

/*
 * Returns a data map that can be converted to JSON.
 **/
this.filterEventData = function (args) {

	switch (args.type) {
		case "beforePrint":
			break;

		case "bulletChartMouseClick":
			return {
				x: args.x,
				y: args.y,
				target: args.target
			};

		default:
			break;
	}
}

/**
 * Widget doesn't need to be manually resized.
 **/
this.resizeWidget = function () {
}